package com.cyy.adapter_pattern.object_adapter;

/**
 * 火晶石类，实现了长虹剑气接口
 */
public class JingShi implements Chang{
    //声明一个火舞旋风剑气的属性
    private Huo huo;

    public JingShi() {
    }

    public JingShi(Huo huo) {
        this.huo = huo;
    }

    @Override
    public void chang() {
        huo.huo();
    }
}
